import {defineStore} from 'pinia'

const useShowPageStore = defineStore("showPageStore",{
    state(){
        return{
            num: 0,
            editPage: true
        }
    },
    actions: {
        setNum(res){
            this.num = res
        },
        setEditPage(res){
            this.editPage = res
        }
    }
})

export default useShowPageStore